<!DOCTYPE html>
<!--[if IE 6]>
<html id="ie6" class="ancient-ie old-ie no-js" dir="ltr">
<![endif]-->
<!--[if IE 7]>
<html id="ie7" class="ancient-ie old-ie no-js" dir="ltr">
<![endif]-->
<!--[if IE 8]>
<html id="ie8" class="old-ie no-js" dir="ltr">
<![endif]-->

<!--[if !(IE 6) | !(IE 7) | !(IE 8)  ]><!-->
<html dir="ltr" class="no-js">
    <!--<![endif]-->
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="initial-scale=1, maximum-scale=2">
        <meta name="google-site-verification" content="<?php echo Yii::app()->params->google['verify']?>" />
        <title><?php echo $this->pageTitle?></title>
        <?php if($this->pageDesc):?><meta name="description" content="<?php echo $this->pageDesc?>"><?php endif?>
        <?php if($this->noIndexFollow):?><meta name="robots" content="noindex, nofollow"/><?php endif?>
        
        <meta name="author" content="<?php echo Yii::app()->params->contact['name']?>">
        <meta property="fb:admins" content="<?php echo Yii::app()->params->facebook['admins']?>"/>
        <meta property="fb:app_id" content="<?php echo Yii::app()->params->facebook['appId']?>"/>
        <meta property="og:type" content="website" />
        <meta property="og:site_name" content="<?php echo $this->siteName?>" />
        <?php if($this->ogUrl):?><meta property="og:url" content="<?php echo $this->ogUrl?>" /><?php endif?>
        <meta property="og:title" content="<?php echo CHtml::encode($this->pageTitle)?>" />
        <?php if($this->ogImage):?><meta property="og:image" content="<?php echo $this->ogImage?>" /><?php endif?>
        <?php if($this->pageDesc):?><meta property="og:description" content="<?php echo $this->pageDesc?>" /><?php endif?>

        <link rel="shortcut icon" href="<?php echo $this->baseUrl?>/files/img/favicon/favicon.ico">
        <link rel="apple-touch-icon" href="<?php echo $this->baseUrl?>/files/img/favicon/57.png">
        <link rel="apple-touch-icon" sizes="72x72" href="<?php echo $this->baseUrl?>/files/img/favicon/72.png">
        <link rel="apple-touch-icon" sizes="114x114" href="<?php echo $this->baseUrl?>/files/img/favicon/114.png">

        <!--[if IE]>
        <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <link href="<?php echo $this->baseUrl?>/files/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
        <link href="<?php echo $this->themeUrl?>/files/theme/css/normalize.css" rel="stylesheet" type="text/css">
        <link href="<?php echo $this->themeUrl?>/files/theme/css/wireframe.css" rel="stylesheet" type="text/css">
        <link href="<?php echo $this->themeUrl?>/files/theme/css/main.css" rel="stylesheet" type="text/css">
        <link href="<?php echo $this->themeUrl?>/files/theme/css/media.css" rel="stylesheet" type="text/css">
        <link href="<?php echo $this->themeUrl?>/files/theme/skins/blue/custom.css" rel="stylesheet" type="text/css" id="skin-style">

        <!-- RoyalSlider -->
        <link rel="stylesheet" href="<?php echo $this->themeUrl?>/files/theme/royalslider/royalslider.css">
        <link rel="stylesheet" href="<?php echo $this->themeUrl?>/files/theme/css/plugins.css">
        <link rel="stylesheet" href="<?php echo $this->themeUrl?>/files/theme/js/plugins/pretty-photo/css/prettyPhoto.css" type="text/css"> 

        <link rel="stylesheet" href="<?php echo $this->themeUrl?>/files/theme/css/font.css">
        <link rel="stylesheet" href="<?php echo $this->themeUrl?>/files/css/style.css">
        <script src="<?php echo $this->themeUrl?>/files/theme/js/modernizr.js"></script>

    </head>
    <body class="page">   
            <?php echo $content?>
    </body>
</html>
    